package com.example.his.api.mis.service.impl;

import com.example.his.api.db.dao.RoleDao;
import com.example.his.api.mis.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author gaoaoy
 * @version 1.0.0
 * @create 2024/7/15 14:39
 **/
@Service
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleDao roleDao;

    @Override
    public ArrayList<HashMap> searchAllRole() {
        ArrayList<HashMap> list = roleDao.searchAllRole();
        return list;
    }
}
